package com.skywolf.chem.pageconfig.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.skywolf.chem.common.sysconfig.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 轮播图配置表
 * </p>
 *
 * @author 
 * @since 2020-06-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="LoopImg对象", description="轮播图配置表")
public class LoopImg extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "轮播图片地址")
    private String imgUrl;

    @ApiModelProperty(value = "外部跳转地址，此处为帖子id")
    private String toUrl;

    @ApiModelProperty(value = "添加人uid")
    private Long addUserId;

    @ApiModelProperty(value = "帖子标题")
    @TableField(exist = false)
    private String title;

    @ApiModelProperty(value = "1:视频梯子 2:文本帖子 3:图文帖子")
    @TableField(exist = false)
    private Integer artType;
}
